package com.work.mapper.main;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.work.dto.main.TallyMachineSearchDTO;
import com.work.entity.main.TallyMachine;
import com.work.vo.main.TallyMachineKindVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 理货机械Mapper
 *
 * @author ：dujianyu
 * @since ：Created in 2024/5/21 14:13
 */
public interface TallyMachineMapper extends BaseMapper<TallyMachine> {

    /**
     * 理货工班树形
     * @param dto 搜索条件
     * @return List<TallyMachineKindVO>
     * @author dujianyu
     * @since 2024/5/21 14:25
     */
    List<TallyMachineKindVO> selectTallyMachineTree(@Param("dto") TallyMachineSearchDTO dto);
}
